//第二题
import java.util.Scanner;
public class M80602 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        System.out.println("请输入张三的月考成绩");
        int grade=in.nextInt();
        if(grade!=60&&grade>60){
            System.out.println("合格了");
        }else if(grade>0&&grade<=60) {
            System.out.println("不合格");
        }

    }
}
